/* tslint:disable */
/* eslint-disable */

import React, { FunctionComponent } from 'react';
import { ViewProps } from 'react-native';
import { Svg, GProps, Path } from 'react-native-svg';
import { getIconColor } from './helper';

interface Props extends GProps, ViewProps {
  size?: number;
  color?: string | string[];
}

let IconLoading: FunctionComponent<Props> = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M1022.748059 529.401151a558.179522 558.179522 0 0 0-43.888179-207.120587 540.698638 540.698638 0 0 0-116.554727-172.48426A516.429963 516.429963 0 0 0 692.331445 37.286355a497.926261 497.926261 0 0 0-197.310836-36.217046C428.258507 2.464061 361.682372 17.480885 300.87121 45.143455a506.108802 506.108802 0 0 0-161.605199 116.694203A521.172118 521.172118 0 0 0 34.00877 332.090316a526.611648 526.611648 0 0 0-33.706493 197.310835 523.031786 523.031786 0 0 0 41.331134 194.149399 506.806178 506.806178 0 0 0 109.395004 161.372741 483.048912 483.048912 0 0 0 159.327105 105.164258 465.521536 465.521536 0 0 0 366.168742-7.8571 473.006702 473.006702 0 0 0 150.865613-109.348512 487.233166 487.233166 0 0 0 125.527629-269.744927 45.701355 45.701355 0 0 0 3.905304 0.139475c36.403012 0 65.971743-30.498565 65.971742-68.156853 0-1.859669-0.139475-3.812321-0.27895-5.718481h0.27895z m-104.838816 181.038736a471.333 471.333 0 0 1-102.23528 150.400696 450.690679 450.690679 0 0 1-148.680502 97.772075 433.767695 433.767695 0 0 1-340.87725-7.903591 439.532667 439.532667 0 0 1-140.172519-101.909838A452.038939 452.038939 0 0 1 94.912915 700.630135a458.03637 458.03637 0 0 1-28.731879-171.275475c1.394751-58.114643 13.715056-115.438927 36.356521-167.974564a438.044933 438.044933 0 0 1 95.075555-139.335668 417.960512 417.960512 0 0 1 137.987409-90.379893 401.316478 401.316478 0 0 1 315.585757 7.903591 407.174434 407.174434 0 0 1 129.479424 94.564147 418.053495 418.053495 0 0 1 83.917545 137.057574 422.981617 422.981617 0 0 1 26.221326 158.164813h0.232459c-0.139475 1.90616-0.232459 3.765829-0.232459 5.71848 0 35.147736 25.75641 64.065582 58.812019 67.78492a483.00242 483.00242 0 0 1-31.707349 107.535335z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

IconLoading.defaultProps = {
  size: 18,
};

IconLoading = React.memo ? React.memo(IconLoading) : IconLoading;

export default IconLoading;
